import java.util.Scanner;
public class ReverseOrder
{
	public static void main (String[] args)
	{
		Scanner scan = new Scanner(System.in);
		double[] number = new double[10];
		System.out.println ("the size of the array:" +number.length);
		for (int index = 0;index < number.length; index++)
		{
			System.out.print ("Enter number " + (index+1) + ":");
			number[index] = scan.nextDouble();
		}
		System.out.println ("The number in reverse order:");

		for (int index = number.length-1;index >= 0;index--)
			System.out.print (number[index] + " ");
	}
}
